package testcase;

/**
 * @author: zhang.rongqing
 * @since: 2019/10/26
 */
public class RunExceptionTest {
    public Exception testcase(int i) {
        if (i > 0) {
            return new Exception();
        } else {
            throw new RuntimeException();
        }
    }

    public static void main(String[] args) {
        System.out.println(new RunExceptionTest().testcase(1));
    }
}
